package com.example.xxpk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangguihong
 * @since 2025-05-28
 */
@Getter
@Setter
@ApiModel(value = "Games对象", description = "")
public class Games implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("| 游戏开始时间 ")
    private LocalDateTime startTime;

    @ApiModelProperty("游戏得分       | ")
    private Integer score;

    @ApiModelProperty(" 收集的金币数量 |")
    private Integer coinsCollected;

    @ApiModelProperty("获得加速道具数量")
    private Integer speedNum;

    @ApiModelProperty("无敌道具数量")
    private Integer invincibilityNum;

    @ApiModelProperty("吸金道具数量")
    private Integer absorbNum;

    @ApiModelProperty("护盾道具数量")
    private Integer shieldNum;

    @ApiModelProperty("通用道具数量")
    private Integer generalNum;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("距离")
    private Integer juli;
}
